<div id="mainContent">
	<?=form_open('SchoolInfo/save')?>
    <table width="500px" align="center" cellpadding="2" cellspacing="2" style="border: 1px solid #0000FF; background-color: #FFFFFF">
      <col width="150px" />
      <col width="350px" />
      <tr bgcolor="#000974">
        <td colspan="2" align="left" bgcolor="#000974" style="color:#FFFFFF;"><label>.:: เพิ่มรายชื่อโรงเรียนในสังกัด </label>        </td>
      </tr>
      <tr>
        <td align="right"><label>ชื่อโรงเรียนในสังกัด</label></td>
        <td align="left"><input name="txtSchool" type="text" id="txtSchool" maxlength="45" style="width: 300px;" value="<?php if(isset($school_name)) echo $school_name; ?>" />
        <input name="txtSchoolId" type="hidden" id="txtSchoolId" value="<?php if(isset($school_id)) echo $school_id; ?>" /></td>
      </tr>
      <tr>
        <td align="right"><label>รายละเอียด</label></td>
        <td align="left"><input name="txtSchoolDeail" type="text" id="txtSchoolDeail" maxlength="45" style="width: 300px;" value="<?php if(isset($school_detail)) echo $school_detail; ?>" />
      </tr>

      <tr>
        <td align="right">&nbsp;</td>
        <td align="left"><input type="submit" name="button" id="button" value="บันทึกข้อมูล" /></td>
      </tr>
      <tr style="height:10px;">
        <td colspan="2"></td>
      </tr>
    </table>
    <?=form_close();?>
</div>

